<?
class Constants
{
    /**
     *  Authorization only, used to obtaining an authorization for a certain
		 *  amount on a customer's credit card/bank account without actually
		 *  charging the card/account.
     */
    var $TRANSTYPE_AUTH = "Auth";
    /**
     *  Sale is a combo of Auth and Capture. If the merchant is setup for
		 *  auto settle, all approved Sale transactions will be settled at the
		 *  end of days without any further action by the merchant
     */
    var $TRANSTYPE_SALE = "Sale";
    /**
     *  Return means issuing the fund back to the customer's credit card/bank
		 *  account
     */
    var $TRANSTYPE_RETURN = "Return";
    /**
     *  Voiding a transction prevents a charge to a credit card/bank account
		 *  from occuring. Voids can only be performed on existing transactions
		 *  that haven't been settled yet. Once the transaction is settled, you
		 *  cannot void it anymore, you can however use Return to issue the fund
		 *  back to the customer's card/account.
     */
    var $TRANSTYPE_VOID = "Void";
    /**
     *  A "Force" transaction is sometime called a "Post-Auth" transaction.
		 *  It is used to capture funds autnorized previously using an "Auth"
		 *  transaction. If the "Auth" transaction was done using SmartPayments.NET
		 *  system, you can use only the PNRef number returned by the sysetm to do
		 *  the "Force" transaction. Every transaction processed
		 *  by SmartPayments.NET system will return a PNRef number, that PNRef number
		 *  is a unique idintifier associated with that particular transaction.
		 *  If the "Auth" transaction was done using
		 *  other mean such as calling the credit card processing center, then
		 *  you have to provide the Authorization Code that was given by the
		 *  credit card processing center (usually over the phone).
     */
    var $TRANSTYPE_FORCE = "Force";
    /**
     *  Capture is used to settle just one transaction and capture the fund
		 *  allocated to that transaction.
     */
    var $TRANSTYPE_CAPTURE = "Capture";
    /**
     *  RepeatSale is used for recurring transaction. Every transaction processed
		 *  by SmartPayments.NET system will return a PNRef number, that PNRef number
		 *  is a unique idintifier associated with that particular transaction.
		 *  To do a RepeatSale transaction, you will first need to obtain a valid
		 *  PNRef number either by sending in a "Sale" or a "Auth" transaction, the
		 *  system will return with a PNRef number to you in the response. The next
		 *  time you want to do a "Sale" or a "Auth" transaction, you only need to
		 *  submit a "RepeatSale" transaction with only the PNRef number, the system
		 *  will automatically look up the original transaction using that PNRef
		 *  number and then apply the same account data to do a "Sale" transaction.
		 *
		 *  You may submit a new amount with the "RepeatSale" if you want to charge
		 *  a different amount than the original transaction. Otherwise, the same
		 *  amount as the original transaction will be used in the new "RepeatSale"
		 *  transaction.
		 *
     */
    var $TRANSTYPE_REPEATSALE = "RepeatSale";
    /**
     *  CaptureAll transaction is used to do a manual settle and catpure all
		 *  the transactions that haven't been settled yet.
     */
    var $TRANSTYPE_CAPTUREALL = "CaptureAll";
}
?>
